package com.hanson.annotation;

import java.lang.annotation.*;

/**
 * @description: 时间日期格式
 * @annotation: DateTimeFormat
 * @author: Hanson
 * @create: 2021/01/05
 **/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface DateTimeFormat {
    String value() default "yyyy-MM-dd HH:mm:ss";
}
